package com.sihan.framework.etm.common.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import lombok.Data;


/**
 * 短信配置
 * @author 张荣英
 * @date Oct 24, 2019 3:18:42 PM
 */
@Configuration
@Data
public class SMSConfig {

	@Value("${sms.sendable:true}")
	private Boolean sendable;
	
	@Value("${sms.resendTimes:3}")
	private int resendTimes;
	
	@Value("${sms.resendInterval:15000}")
	private int resendInterval;
	
	@Value("${sms.alidayu.signName:\u56fd\u5bb6\u7535\u7f51}")
	private String signName;
	
	@Value("${sms.alidayu.accessKeyId:wmOxc8nc52W6OhXn}")
	private String accessKeyId;
	
	@Value("${sms.alidayu.secret:3U2NweswSqzaqx3HJ6I62W8dXk1P5n}")
	private String secret;
	
	@Value("${sms.station.name}")
	private String stationName;
	
	@Value("${sms.alidayu.temp}")
	private String smsTemp;
	
}
